home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 848 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: grafix.xs4all.nl!john.hendrikx
  2. Date: Thu, 11 Jan 96 23:50:01 GMT+1
  3. Newsgroups: comp.sys.amiga.programmer
  4. Distribution: world
  5. Subject: ExAll()
  6. MIME-Version: 1.0
  7. Content-Type: text/plain; charset=iso-8859-1
  8. Content-Transfer-Encoding: 8bit
  9. From: john.hendrikx@grafix.xs4all.nl (John Hendrikx)
  10. Message-ID: <john.hendrikx.45hl@grafix.xs4all.nl>
  11. Organization: Grafix Attack BBS Holland
  12.  
  13.  
  14. I've got a few questions about ExAll().
  15.  
  16. The AutoDocs tell me that this function MUST be called until it returns false,
  17. so even in the case of a user pressing CTRL-C you'd have to keep calling
  18. ExAll() until it fails.
  19.  
  20. This would enable filesystems to allocate memory on the first call to ExAll()
  21. and free it when the filesystem will be returning failure.  However, it seems
  22. quite unlikely that programs actually follow this rule, I mean, why scan the
  23. rest of the dir with ExAll() if the user just pressed CTRL-C? With the
  24. introduction of ExAllEnd() in V39 this does seem to be how the function is
  25. supposed to be used though.
  26.  
  27. Something else, is the filesystem supposed to call the eac_MatchFunc and use
  28. the eac_MatchString?  Or does dos.library handle this transparantly for the
  29. user and the filesystem?
  30.  
  31. Any information on the new filesystem packets introduced in V39 would also be
  32. appreciated.
  33.  
  34. Grtz John
  35.  
  36. -----------------------------------------------------------------------
  37.  John.Hendrikx@grafix.xs4all.nl   TextDemo/FastView/Etc... development
  38. -----------------------------------------------------------------------
  39. -- Via Xenolink 1.981, XenolinkUUCP 1.1
  40.